package com.example.literaturesystem.service.publisher.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.literaturesystem.dao.publisher.ICNPublisherDao;
import com.example.literaturesystem.domain.base.BaseModel;
import com.example.literaturesystem.domain.publisher.CNPublisher;
import com.example.literaturesystem.service.publisher.ICNPublisherService;

/**
*@author LMR
*@data 2018年1月31日下午9:57:39
*/
@Service("cnPublisherService")
public class CNPublisherServiceimpl implements ICNPublisherService{

	@Autowired
	private ICNPublisherDao cnPublisherDao;
	@Override
	public List<CNPublisher> query(BaseModel model) {
		// TODO Auto-generated method stub
		return this.cnPublisherDao.query(model);
	}

	@Override
	public void insert(BaseModel model) {
		// TODO Auto-generated method stub
		this.cnPublisherDao.insert(model);
	}

	@Override
	public void update(BaseModel model) {
		// TODO Auto-generated method stub
		this.cnPublisherDao.update(model);
	}

}
